package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.Natatorium;

import java.util.List;

/**
 * 泳馆Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface NatatoriumMapper extends BaseMapper<Natatorium>
{
    /**
     * 查询泳馆
     * 
     * @param id 泳馆ID
     * @return 泳馆
     */
    public Natatorium selectNatatoriumById(Long id);

    /**
     * 查询泳馆列表
     * 
     * @param natatorium 泳馆
     * @return 泳馆集合
     */
    public List<Natatorium> selectNatatoriumList(Natatorium natatorium);

}
